import type { PaginationProps } from "@pureadmin/table";
import { reactive } from "vue";

export function useTableConfig() {
  /** 分页配置 */
  const pagination = reactive<PaginationProps>({
    pageSize: 10,
    currentPage: 1,
    pageSizes: [10, 20, 40, 60],
    total: 0,
    align: "right",
    background: true
  });
  return {
    pagination
  };
}
